Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcIsEvenFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 1 item: number.

Number is the value to test. If number is not an integer, it is truncated.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Checks whether the number is even.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcIsEvenFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 1 item: number.

    Number is the value to test. If number is not an integer, it is truncated.

    Return Value

    A System.Boolean value that indicates the evaluate result.
    See Also